package com.hotel.system.domain.hotel;

import com.hotel.common.annotation.Excel;
import com.hotel.common.annotation.Excel.ColumnType;
import com.hotel.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订单表 hotel_order
 * 
 * @author hotel
 */
@Data
public class Order extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 订单 ID */
    @Excel(name = "订单ID", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 部门 ID */
    @Excel(name = "店面ID", cellType = ColumnType.NUMERIC)
    private Long deptId;

    /** 店面名称 */
    @Excel(name = "店面名称", cellType = ColumnType.STRING)
    private String deptName;

    /** 房间ID */
    @Excel(name = "房间ID", cellType = ColumnType.NUMERIC)
    private String roomId;

    /** 房间名称 */
    @Excel(name = "房间名称", cellType = ColumnType.STRING)
    private String roomName;

    /** 订单类型 全天或钟点 */
    @Excel(name = "订单类型 全天或钟点", readConverterExp = "true=正常,false=停用")
    private Boolean orderType;

    /** 预订人姓名 */
    @Excel(name = "预订人姓名", cellType = ColumnType.STRING)
    private String bookingPersionName;

    /** 预定平台 */
    @Excel(name = "预定平台", cellType = ColumnType.STRING)
    private String bookingPlatform;

    /** 入住天数 */
    @Excel(name = "入住天数", cellType = ColumnType.STRING)
    private Integer days;

    /** 总金额 */
    @Excel(name = "总金额", cellType = ColumnType.STRING)
    private BigDecimal totalAmount;

    /** 当日金额 */
    @Excel(name = "当日金额", cellType = ColumnType.STRING)
    private BigDecimal dailyAmount;

    /** 押金 */
    @Excel(name = "押金", cellType = ColumnType.STRING)
    private BigDecimal deposit;

}
